<?php
global $pluginsEnabled;


define ('SERVER_ADDR', 'mysportclub');
define ('WEB_ROOT', '/');

define ('ROOT_ADDR', 'http://'.SERVER_ADDR.WEB_ROOT);

define ('APP_ID', 'exampleapp');
define ('APP_NAME', 'Example App');

define('DEFAULT_CTRL', 'AppDefault');
define('DEFAULT_ACT', 'index');

define('THEME', 'vfwtheme');
define('MOBILE_THEME', 'mobile');


define('SITE_TITLE', 'Under Development');

define('VFW_ROOT', '/home/valerio/workspace/vfw_svn/vfw/');
define('VFW_INDEX', VFW_ROOT.'index_file.php');
define('VFW_PATH', VFW_ROOT.'vfw/');
define('APP_PATH', '/home/valerio/workspace/vfw_svn/vfw_app/');
define('MODEL_PATH', APP_PATH.'model/');
define('MODULES_PATH', APP_PATH.'modules/');
define('SERVICES_PATH', APP_PATH.'services/');

define('VIEW_PATH', APP_PATH.'view/');

define('MOBILE_VIEW_PATH', APP_PATH.'view/mobile/');

define('THEME_PATH', VIEW_PATH.'themes/'.THEME.'/');
define('MOBILE_THEME_PATH', VIEW_PATH.'themes/'.MOBILE_THEME.'/');



define('SMARTY_PATH', '/usr/share/php/smarty3/');
define('PLUGINS_PATH', '/home/valerio/workspace/vfw_svn/vfw/plugins/' );

define('VIEW_URL', WEB_ROOT.'view/');
define('THEME_URL', WEB_ROOT.'view/themes/'.THEME.'/');
define('MOBILE_THEME_URL', WEB_ROOT.'view/themes/'.MOBILE_THEME.'/');

define ('DB_MYSQL', 'MySql');
define ('DB_ORA', 'Oracle');

define('DB_TYPE', DB_MYSQL);

define('DB_HOST', 'localhost:3306');
define('DB_NAME', 'mysportclub');
define('DB_UNAME', 'root');
define('DB_PASS', 'root');
define('DB_PREF', '');


define('TNS_FILE', '/home/valerio/www/tns.php');
define('ORA_UNAME', 'super');
define('ORA_PASS', 'super');

$pluginsEnabled[] = 'Auth';

function include_model($model) {
    include_once MODEL_PATH.$model.".php";
}

?>
